<template>
  <div class="teamBox">
    <div class="left">
      <p class="title">Level {{ index+1 }} <qq>cumulativeCommission</qq></p>
      <div class="content over-hide-2">
        ${{ item.commission.amount }}
      </div>
    </div>
    <div class="right">
      <p class="title"><qq>Quantity</qq></p>
      <div class="content">{{ item.number.amount }}</div>
    </div>
  </div>
</template>

<script>
  export default{
    props:['item','index']
  }
</script>

<style scoped lang="scss">
.teamBox{
  width: 100%;
  height: 48px;
  border-bottom: 1px solid #E2D8F3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  .left{
    width: 100%;
    height: 48px;
    .title{
      font-weight: 600;
      font-size: 12px;
      color: #242B35;
      margin-bottom: 5px;
    }
    .content{
      font-weight: bold;
      font-size: 14px;
      color: #533DF1;
    }
  }
  .right{
    width: 60px;
    height: 48px;
    .title{
      font-weight: 600;
      font-size: 12px;
      color: #242B35;
      margin-bottom: 5px;
    }
    .content{
      font-weight: bold;
      font-size: 14px;
      color: #533DF1;
      text-align: right;
    }
  }
}
</style>